package cn.xuewei.mapper;

import cn.xuewei.pojo.entity.UserCourse;
import cn.xuewei.pojo.vo.CourseContentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserCourseMapper {
    boolean exists(Long user_id, String bvid);

    void insert(UserCourse userCourse);

    List<CourseContentVO> selectByUserId(Long user_id);
}
